import {createApp} from 'vue';
import stores from '/@/stores';
import App from '/@/App.vue';
import router from '/@/router';
import {directive} from '/@/directive/index';
import other from '/@/utils/other';

import ElementPlus from 'element-plus';
import '/@/theme/index.scss';

const app = createApp(App);

directive(app);
//注册饿了么图标
other.elSvg(app);

app
    .use(stores.pinia)
    .use(router)
    .use(ElementPlus)
    .mount('#app');
